﻿using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;

namespace CommonManagement
{
    /// <summary>
    /// 风力类
    /// </summary>
    public class Wind : Entity<int>
    {
        /// <summary>风力等级</summary>
        public string WindStrength { get; protected set; }

        /// <summary>风向</summary>
        public string WindDirection { get; protected set; }

        /// <summary>天气信息</summary>
        [ForeignKey("Id")]
        public Weather Forecast { get; protected set; }

        private Wind() { }
    }
}